﻿<h4>Autofocus</h4>
<p>Commented out to prevent page actually jumping to this location. See example code below for implementation.</p>
@*<FluentTextField Autofocus="true">autofocus</FluentTextField>*@

<h4>Focus Async</h4>
<div style="display:flex">
    <FluentButton @onclick="() => focusTest!.FocusAsync()">FocusAsync</FluentButton>
    <FluentTextField @ref=focusTest @bind-Value=value></FluentTextField>
</div>
@code {
    FluentTextField? focusTest;
    string? value;
}